package com.hjm.project.tBankinfo.tBankinfo.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hjm.project.tBankinfo.tBankinfo.mapper.TBankinfoMapper;
import com.hjm.project.tBankinfo.tBankinfo.domain.TBankinfo;
import com.hjm.project.tBankinfo.tBankinfo.service.ITBankinfoService;
import com.hjm.common.utils.text.Convert;

/**
 * 商编Service业务层处理
 * 
 * @author LOVE
 * @date 2020-11-28
 */
@Service
public class TBankinfoServiceImpl implements ITBankinfoService 
{
    @Autowired
    private TBankinfoMapper tBankinfoMapper;

    /**
     * 查询商编
     * 
     * @param tid 商编ID
     * @return 商编
     */
    @Override
    public TBankinfo selectTBankinfoById(String tid)
    {
        return tBankinfoMapper.selectTBankinfoById(tid);
    }

    /**
     * 查询商编列表
     * 
     * @param tBankinfo 商编
     * @return 商编
     */
    @Override
    public List<TBankinfo> selectTBankinfoList(TBankinfo tBankinfo)
    {
        return tBankinfoMapper.selectTBankinfoList(tBankinfo);
    }

    /**
     * 新增商编
     * 
     * @param tBankinfo 商编
     * @return 结果
     */
    @Override
    public int insertTBankinfo(TBankinfo tBankinfo)
    {
        return tBankinfoMapper.insertTBankinfo(tBankinfo);
    }

    /**
     * 修改商编
     * 
     * @param tBankinfo 商编
     * @return 结果
     */
    @Override
    public int updateTBankinfo(TBankinfo tBankinfo)
    {
        return tBankinfoMapper.updateTBankinfo(tBankinfo);
    }

    /**
     * 删除商编对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteTBankinfoByIds(String ids)
    {
        return tBankinfoMapper.deleteTBankinfoByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除商编信息
     * 
     * @param tid 商编ID
     * @return 结果
     */
    @Override
    public int deleteTBankinfoById(String tid)
    {
        return tBankinfoMapper.deleteTBankinfoById(tid);
    }

    @Override
    public List<Map<String,Object>> getDataList(Map<String,Object> params) {
        return  tBankinfoMapper.getDataList(params);
    }

    @Override
    public List<Map<String,Object>> getListOneMap(Map<String,Object> params) {
        return  tBankinfoMapper.getListOneMap(params);
    }

    @Override
    public List<Map<String,Object>> getListTwoMap(Map<String,Object> params) {
        return  tBankinfoMapper.getListTwoMap(params);
    }

    @Override
    public List<Map<String,Object>> getListThreeMap(Map<String,Object> params) {
        return  tBankinfoMapper.getListThreeMap(params);
    }

    @Override
    public List<Map<String,Object>> getListFourMap(Map<String,Object> params) {
        return  tBankinfoMapper.getListFourMap(params);
    }

    @Override
    public List<Map<String,Object>> getListTBankInfoMap(Map<String,Object> params) {
        return  tBankinfoMapper.getListTBankInfoMap(params);
    }

    @Override
    public List<Map<String,Object>> getPosBinding(Map<String,Object> params) {
        return  tBankinfoMapper.getPosBinding(params);
    }

    @Override
    public List<Map<String,Object>> getRoutRateType(Map<String,Object> params) {
        return  tBankinfoMapper.getRoutRateType(params);
    }

    @Override
    public List<Map<String,Object>> getBankBnoSerialInfo(Map<String,Object> params) {
        return  tBankinfoMapper.getBankBnoSerialInfo(params);
    }

    @Override
    public int insertPosBinding(Map<String,Object> params)
    {
        return tBankinfoMapper.insertPosBinding(params);
    }

    @Override
    public int updatePosBinding(Map<String,Object> params)
    {
        return tBankinfoMapper.updatePosBinding(params);
    }

    @Override
    public Map<String,Object> selectPosBindingById(String bno) {
        return  tBankinfoMapper.selectPosBindingById(bno);
    }

    @Override
    public int deletePosBindingByIds(String bno)
    {
        return tBankinfoMapper.deletePosBindingByIds(bno);
    }

    @Override
    public int insertRoutRateType(Map<String,Object> params)
    {
        return tBankinfoMapper.insertRoutRateType(params);
    }

    @Override
    public Map<String,Object> selectRoutRateTypeById(String id) {
        return  tBankinfoMapper.selectRoutRateTypeById(id);
    }

    @Override
    public int updateRoutRateType(Map<String,Object> params)
    {
        return tBankinfoMapper.updateRoutRateType(params);
    }

    @Override
    public int deleteRoutRateTypeByIds(String id)
    {
        return tBankinfoMapper.deleteRoutRateTypeByIds(id);
    }

    @Override
    public int insertBankBnoSerialInfo(Map<String,Object> params)
    {
        return tBankinfoMapper.insertBankBnoSerialInfo(params);
    }

    @Override
    public Map<String,Object> selectBankBnoSerialInfoById(String bankbno) {
        return  tBankinfoMapper.selectBankBnoSerialInfoById(bankbno);
    }

    @Override
    public int updateBankBnoSerialInfo(Map<String,Object> params)
    {
        return tBankinfoMapper.updateBankBnoSerialInfo(params);
    }

    @Override
    public int deleteBankBnoSerialInfo(String bankbno)
    {
        return tBankinfoMapper.deleteBankBnoSerialInfo(bankbno);
    }

}
